import request from '@/utils/https'

//------------------------------------------------------------------------------------------------市场VIP设置
//获取vip信息
export const queryVip = params => request('get','api/queryVip',params)

//添加vip信息
export const addVip = params => request("post",'api/addVip',params)

//按编号获取vip信息
export const queryIdVip = params => request('get','api/queryIdVip',params)

//编辑vip信息
export const editVip = params => request('post','api/editVip',params)

//删除vip信息
export const deleteVip = params => request('post','api/deleteVip',params)

//------------------------------------------------------------------------------------------------市场Banner图
//获取首页banner图信息
export const queryBanner = params => request('get','api/queryBanner',params)

//首页banner图片上传
export const uploadBannerImg = params => request('post','api/uploadBannerImg',params)

//添加首页banner图信息
export const addBanner = params => request('post','api/addBanner',params)

//按ID获取首页banner图信息
export const queryIdBanner = params => request('get','api/queryIdBanner',params)

//编辑首页banner图信息
export const editBanner = params => request('post','api/editBanner',params)

//删除首页banner图信息
export const deleteBanner = params => request('post','api/deleteBanner',params)

//------------------------------------------------------------------------------------------------新用户手册上传
export const backImageList = params => request('get','api/backImageList',params)

//新用户手册添加
export const addBackImage = params => request('post','api/addBackImage',params)

//新用户手册上次图片
export const uploadBackImage = params => request('post','api/uploadBackImage',params)

//新用户手册删除
export const DelBackImage = params => request('get','api/DelBackImage',params)

//------------------------------------------------------------------------------------------------桌面定制设置
//获取桌面信息
export const queryDesktop = params => request('get','api/queryDesktop',params)

//添加桌面信息
export const addDesktop = params => request('post','api/addDesktop',params)

//上传背景图片
export const uploadBackground = params => request('post','api/uploadBackground',params)
export const uploadScreenBackground = params => request('post','api/uploadScreenBackground',params)

//上传控件图片
export const uploadControl = params => request('post','api/uploadControl',params)

//获取桌面归属
export const desktopUsername = params => request('get','api/desktopUsername',params)

//编辑桌面信息
export const editDesktop = params => request('post','api/editDesktop',params)

//------------------------------------------------------------------------------------------------桌面包名设置
//获取系统包名信息
export const queryAllSystemApp = params => request('get','api/queryAllSystemApp',params)

//添加系统包名信息
export const addSystemApp = params => request('post','api/addSystemApp',params)

//根据ID查询包名信息
export const queryIdSystemApp = params => request('get','api/queryIdSystemApp',params)

//修改系统包名信息
export const editSystemApp = params => request('post','api/editSystemApp',params)

//删除系统包名信息
export const deleteSystemApp = params => request('post','api/deleteSystemApp',params)

//获取所有包名
export const querySystemAppPackage = params => request('get','api/querySystemAppPackage',params)

//------------------------------------------------------------------------------------------------展会用户信息
//添加展会用户信息
export const addExhibitionUser = params => request('post','api/addExhibitionUser',params)

//获取展会用户信息
export const queryExhibitionUser = params => request('get','api/queryExhibitionUser',params)

//删除展会用户信息
export const deleteExhibitionUser = params => request('post','api/deleteExhibitionUser',params)


//导出展会用户信息
export const exportExhibitionUser = params => request('post','api/exportExhibitionUser',params)


//------------------------------------------------------------------------------------------------用户流量统计
//获取流量统计信息
export const queryStatistics = params => request('get','api/queryStatistics',params)

//编号获取流量统计信息
export const queryIdStatistics = params => request('get','api/queryIdStatistics',params)

//编辑用户当月限制流量
export const editStatistics = params => request('post','api/editStatistics',params)


//------------------------------------------------------------------------------------------------用户流量统计
//固件内置app列表
export const queryFirmwareApp = params => request('get','api/queryFirmwareApp',params)

//添加固件内置app
export const addFirmwareApp = params => request('post','api/addFirmwareApp',params)

//编辑固件内置app
export const editFirmwareApp = params => request('post','api/editFirmwareApp',params)

//删除固件内置app
export const deleteFirmwareApp = params => request('post','api/deleteFirmwareApp',params)
